

import React,{ Component } from 'react';
import './App.css';
import RouteMap from './router/router';
import Acom from './Acom';
import Ccom from './Ccom';
import BrotherA from './BrotherA';
import BrotherB from './BrotherB';

class App extends Component {
    constructor(props) {
        super(props);
        this.state = {
            a:''
        }
    }
    getStrFun(str){
        this.setState({
            str,
        })
    }
    render() {
        return (
            <div>
                <RouteMap />
                {/* <Acom />
                <Ccom />
                <BrotherA information={ (str)=>this.getStrFun(str)}/>
                <BrotherB str={ this.state.str }/> */}
            </div>
        )
    }
}
export default App;
